#include <bits/stdc++.h>

using namespace std;

int main() {
	string s;
	cin >> s;

	const int x = (s.length() + 1) / 2;
	s.erase(x - 1, 1);

	cout << s << endl;
}